package com.ms.business.dao;


import com.xpec.c4.db.basic.BasicBusunessDAO;
import com.xpec.c4.db.log.LogBusinessModelPool;
import com.xpec.c4.db.model.log.basic.BasicLogModel;

public class BusinessEventRecordDAO extends BasicBusunessDAO{
	/**
	 * 來自後台、運營商
	 */
	public static final int SOURCE_TYPE_COOPERATOR = 0;
	/**
	 * 來自遊戲本身機至
	 */
	public static final int SOURCE_TYPE_GAME = 1;
	/**
	 * 來自MAIL
	 */
	public static final int SOURCE_TYPE_MAIL = 2;
	/**
	 * 來自玩家
	 */
	public static final int SOURCE_TYPE_PLAYER = 3;
	/**
	 * 來自GM
	 */
	public static final int SOURCE_TYPE_GM_COMMAND = 4;
	
	public static void addBusinessLogRecord(BasicLogModel model){
		LogBusinessModelPool.add(model);
		//saveTransaction(model);
	}
}
